package io.renren.modules.psfinancemanage.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.psfinancemanage.dao.PsFinanceManageDao;
import io.renren.modules.psfinancemanage.entity.PsFinanceManageEntity;
import io.renren.modules.psfinancemanage.service.PsFinanceManageService;



@Service("psFinanceManageService")
public class PsFinanceManageServiceImpl implements PsFinanceManageService {
	@Autowired
	private PsFinanceManageDao psFinanceManageDao;
	
	@Override
	public PsFinanceManageEntity queryObject(Long id){
		return psFinanceManageDao.queryObject(id);
	}
	
	@Override
	public List<PsFinanceManageEntity> queryList(Map<String, Object> map){
		return psFinanceManageDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return psFinanceManageDao.queryTotal(map);
	}
	
	@Override
	public void save(PsFinanceManageEntity psFinanceManage){
		psFinanceManageDao.save(psFinanceManage);
	}
	
	@Override
	public void update(PsFinanceManageEntity psFinanceManage){
		psFinanceManageDao.update(psFinanceManage);
	}
	
	@Override
	public void delete(Long id){
		psFinanceManageDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		psFinanceManageDao.deleteBatch(ids);
	}
	
}
